package com.xbongbong.crm.perform.query.render.insert;

import com.xbongbong.crm.abstracts.AbstractCrmNewPageRenderService;
import com.xbongbong.paas.domain.entity.ext.PaasFormEntityExt;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.pojo.dto.FormDataAddGetDTO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.enums.XbbRefTypeEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author sunshaoxiang
 * @ClassName MarketActivityNewPageRenderServiceImpl
 * @Description 市场活动 add get 业务层
 * @Date 2022/6/16 9:27
 * @Version 1.0
 **/
@Service("marketActivityNewPageRenderServiceImpl")

public class MarketActivityNewPageRenderServiceImpl extends AbstractCrmNewPageRenderService {

    public static final Logger LOGGER = LoggerFactory.getLogger(MarketActivityNewPageRenderServiceImpl.class);

    @Override
    public List<Integer> businessType() {
        return Collections.singletonList(XbbRefTypeEnum.MARKET_ACTIVITY.getCode());
    }

    @Override
    public void businessHandleExplain(FormDataAddGetDTO formDataAddGetDTO, List<FieldAttrEntity> list, PaasFormEntityExt form) throws XbbException {

    }
}
